/**
 * JSP项目组
 */
package cn.com.change.service.impl;

import java.util.List;

import cn.com.change.dao.BasedataDao;
import cn.com.change.model.School;
import cn.com.change.service.BasedataManager;

/**
 * @author <a href = "K.Cancer.2007@gmail.com">Rita</a>
 *
 */
public class BasedateManagerImpl extends GenericManagerImpl<School,Long> implements BasedataManager {

	BasedataDao basedataDao;
	
	public BasedateManagerImpl(BasedataDao basedataDao) {
		super(basedataDao);
		this.basedataDao = basedataDao;
	}

	public List<School> getSchools() {
		return basedataDao.getSchools();
	}

	public School getSchool(Long id) {
		return basedataDao.get(id);
	}

}
